package com.chixing.day07_abstract;



public class ToStringDemo {
    public static void main(String[] args) {
      Company company =  new Company(10,"华为","民营","苏州",12345l);
        System.out.println(company);  //"com.chixing.day07_abstract.Compamy" 类全限定名(类全名)
                                     //"com.chixing.day07_abstract.Compamy@1b6d3586" 类全限定名(类全名)
        System.out.println(company.toString());  // Object继承来的
                                               //重写Object.toString()

    }
}
